<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>BOSS Afterburner: TokenizedLine.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">BOSS Afterburner
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('TokenizedLine_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">TokenizedLine.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="TokenizedLine_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef BOSS_Afterburner_TokenizedLine_H</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define BOSS_Afterburner_TokenizedLine_H</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &quot;TString.h&quot;</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;</div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno"><a class="line" href="classTokenizedLine.html">   12</a></span>&#160;<span class="keyword">class </span><a class="code" href="classTokenizedLine.html">TokenizedLine</a></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;{</div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;  <a class="code" href="classTokenizedLine.html#a33cec57c57ad833ac0f946e711e0a967">TokenizedLine</a>(<span class="keyword">const</span> TString&amp; input, <span class="keyword">const</span> <span class="keywordtype">char</span>* delim = <span class="stringliteral">&quot;,&quot;</span>);</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classTokenizedLine.html#ab4559ec84b70d0c676449af9123fed43">SetLineAndTokenize</a>(<span class="keyword">const</span> TString&amp; line);</div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;  <span class="keyword">const</span> Int_t    <a class="code" href="classTokenizedLine.html#a5f36577af1e1c91a064f0c0b62d60039">GetNSegments</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;  <span class="keyword">const</span> TString&amp; <a class="code" href="classTokenizedLine.html#a8756a5bc37918ccbb6a78e298bf5b377">GetSegment</a>(Int_t i) <span class="keyword">const</span>;</div><div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="classTokenizedLine.html#aaa82794c7953dcbcfc178742e230c42e">   20</a></span>&#160;  <span class="keyword">const</span> <span class="keywordtype">char</span>*    <a class="code" href="classTokenizedLine.html#aaa82794c7953dcbcfc178742e230c42e">GetDelimiter</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTokenizedLine.html#ad3db93cc817168af91269c08bbecc480">fDelimiter</a>.Data(); }</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;  TString <a class="code" href="classTokenizedLine.html#ab77c29b185b2501a06a4088688133d13">BuildMergedSegments</a>(Int_t from, Int_t to) <span class="keyword">const</span>;</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="classTokenizedLine.html#a0844693f8610de41f0f6cbb562400351">   25</a></span>&#160;  TString              <a class="code" href="classTokenizedLine.html#a0844693f8610de41f0f6cbb562400351">fLine</a>;</div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="classTokenizedLine.html#ad3db93cc817168af91269c08bbecc480">   26</a></span>&#160;  <span class="keyword">const</span> TString        <a class="code" href="classTokenizedLine.html#ad3db93cc817168af91269c08bbecc480">fDelimiter</a>;</div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="classTokenizedLine.html#a05507548b18a694f4bc08cb7989cd4f6">   27</a></span>&#160;  <span class="keyword">const</span> Ssiz_t         <a class="code" href="classTokenizedLine.html#a05507548b18a694f4bc08cb7989cd4f6">fDelimWidth</a>;</div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="classTokenizedLine.html#a1850ffb90b9b85f083a7771f7d1d6bae">   28</a></span>&#160;  std::vector&lt;TString&gt; <a class="code" href="classTokenizedLine.html#a1850ffb90b9b85f083a7771f7d1d6bae">fArrayOfSegments</a>;</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;  <span class="keywordtype">void</span>   <a class="code" href="classTokenizedLine.html#ab1a3d86351b97a86033d2f3eed261ba5">InsertSpaces</a>();</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;  <span class="keywordtype">void</span>   <a class="code" href="classTokenizedLine.html#a90c92889fb03ab695c70430571f2c19b">SetArrayOfSegments</a>();</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;  Bool_t <a class="code" href="classTokenizedLine.html#a9cb41e004f18e26220e502cc1a245e33">IndexOutOfRange</a>(<span class="keyword">const</span> Int_t&amp; i) <span class="keyword">const</span>;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;  Int_t  <a class="code" href="classTokenizedLine.html#affd342ab0b5314be5b4ab285bfddd798">FlipIndex</a>(Int_t i) <span class="keyword">const</span>;</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;};</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="classTokenizedLine_html_a05507548b18a694f4bc08cb7989cd4f6"><div class="ttname"><a href="classTokenizedLine.html#a05507548b18a694f4bc08cb7989cd4f6">TokenizedLine::fDelimWidth</a></div><div class="ttdeci">const Ssiz_t fDelimWidth</div><div class="ttdef"><b>Definition:</b> <a href="TokenizedLine_8h_source.html#l00027">TokenizedLine.h:27</a></div></div>
<div class="ttc" id="classTokenizedLine_html_ab4559ec84b70d0c676449af9123fed43"><div class="ttname"><a href="classTokenizedLine.html#ab4559ec84b70d0c676449af9123fed43">TokenizedLine::SetLineAndTokenize</a></div><div class="ttdeci">void SetLineAndTokenize(const TString &amp;line)</div><div class="ttdef"><b>Definition:</b> <a href="TokenizedLine_8cxx_source.html#l00014">TokenizedLine.cxx:14</a></div></div>
<div class="ttc" id="classTokenizedLine_html_a1850ffb90b9b85f083a7771f7d1d6bae"><div class="ttname"><a href="classTokenizedLine.html#a1850ffb90b9b85f083a7771f7d1d6bae">TokenizedLine::fArrayOfSegments</a></div><div class="ttdeci">std::vector&lt; TString &gt; fArrayOfSegments</div><div class="ttdef"><b>Definition:</b> <a href="TokenizedLine_8h_source.html#l00028">TokenizedLine.h:28</a></div></div>
<div class="ttc" id="classTokenizedLine_html_aaa82794c7953dcbcfc178742e230c42e"><div class="ttname"><a href="classTokenizedLine.html#aaa82794c7953dcbcfc178742e230c42e">TokenizedLine::GetDelimiter</a></div><div class="ttdeci">const char * GetDelimiter() const</div><div class="ttdef"><b>Definition:</b> <a href="TokenizedLine_8h_source.html#l00020">TokenizedLine.h:20</a></div></div>
<div class="ttc" id="classTokenizedLine_html_a8756a5bc37918ccbb6a78e298bf5b377"><div class="ttname"><a href="classTokenizedLine.html#a8756a5bc37918ccbb6a78e298bf5b377">TokenizedLine::GetSegment</a></div><div class="ttdeci">const TString &amp; GetSegment(Int_t i) const</div><div class="ttdef"><b>Definition:</b> <a href="TokenizedLine_8cxx_source.html#l00047">TokenizedLine.cxx:47</a></div></div>
<div class="ttc" id="classTokenizedLine_html_a33cec57c57ad833ac0f946e711e0a967"><div class="ttname"><a href="classTokenizedLine.html#a33cec57c57ad833ac0f946e711e0a967">TokenizedLine::TokenizedLine</a></div><div class="ttdeci">TokenizedLine(const TString &amp;input, const char *delim=&quot;,&quot;)</div><div class="ttdef"><b>Definition:</b> <a href="TokenizedLine_8cxx_source.html#l00007">TokenizedLine.cxx:7</a></div></div>
<div class="ttc" id="classTokenizedLine_html"><div class="ttname"><a href="classTokenizedLine.html">TokenizedLine</a></div><div class="ttdef"><b>Definition:</b> <a href="TokenizedLine_8h_source.html#l00012">TokenizedLine.h:12</a></div></div>
<div class="ttc" id="classTokenizedLine_html_a90c92889fb03ab695c70430571f2c19b"><div class="ttname"><a href="classTokenizedLine.html#a90c92889fb03ab695c70430571f2c19b">TokenizedLine::SetArrayOfSegments</a></div><div class="ttdeci">void SetArrayOfSegments()</div><div class="ttdef"><b>Definition:</b> <a href="TokenizedLine_8cxx_source.html#l00026">TokenizedLine.cxx:26</a></div></div>
<div class="ttc" id="classTokenizedLine_html_ab1a3d86351b97a86033d2f3eed261ba5"><div class="ttname"><a href="classTokenizedLine.html#ab1a3d86351b97a86033d2f3eed261ba5">TokenizedLine::InsertSpaces</a></div><div class="ttdeci">void InsertSpaces()</div><div class="ttdef"><b>Definition:</b> <a href="TokenizedLine_8cxx_source.html#l00021">TokenizedLine.cxx:21</a></div></div>
<div class="ttc" id="classTokenizedLine_html_a5f36577af1e1c91a064f0c0b62d60039"><div class="ttname"><a href="classTokenizedLine.html#a5f36577af1e1c91a064f0c0b62d60039">TokenizedLine::GetNSegments</a></div><div class="ttdeci">const Int_t GetNSegments() const</div><div class="ttdef"><b>Definition:</b> <a href="TokenizedLine_8cxx_source.html#l00042">TokenizedLine.cxx:42</a></div></div>
<div class="ttc" id="classTokenizedLine_html_a0844693f8610de41f0f6cbb562400351"><div class="ttname"><a href="classTokenizedLine.html#a0844693f8610de41f0f6cbb562400351">TokenizedLine::fLine</a></div><div class="ttdeci">TString fLine</div><div class="ttdef"><b>Definition:</b> <a href="TokenizedLine_8h_source.html#l00025">TokenizedLine.h:25</a></div></div>
<div class="ttc" id="classTokenizedLine_html_a9cb41e004f18e26220e502cc1a245e33"><div class="ttname"><a href="classTokenizedLine.html#a9cb41e004f18e26220e502cc1a245e33">TokenizedLine::IndexOutOfRange</a></div><div class="ttdeci">Bool_t IndexOutOfRange(const Int_t &amp;i) const</div><div class="ttdef"><b>Definition:</b> <a href="TokenizedLine_8cxx_source.html#l00074">TokenizedLine.cxx:74</a></div></div>
<div class="ttc" id="classTokenizedLine_html_ad3db93cc817168af91269c08bbecc480"><div class="ttname"><a href="classTokenizedLine.html#ad3db93cc817168af91269c08bbecc480">TokenizedLine::fDelimiter</a></div><div class="ttdeci">const TString fDelimiter</div><div class="ttdef"><b>Definition:</b> <a href="TokenizedLine_8h_source.html#l00026">TokenizedLine.h:26</a></div></div>
<div class="ttc" id="classTokenizedLine_html_ab77c29b185b2501a06a4088688133d13"><div class="ttname"><a href="classTokenizedLine.html#ab77c29b185b2501a06a4088688133d13">TokenizedLine::BuildMergedSegments</a></div><div class="ttdeci">TString BuildMergedSegments(Int_t from, Int_t to) const</div><div class="ttdef"><b>Definition:</b> <a href="TokenizedLine_8cxx_source.html#l00054">TokenizedLine.cxx:54</a></div></div>
<div class="ttc" id="classTokenizedLine_html_affd342ab0b5314be5b4ab285bfddd798"><div class="ttname"><a href="classTokenizedLine.html#affd342ab0b5314be5b4ab285bfddd798">TokenizedLine::FlipIndex</a></div><div class="ttdeci">Int_t FlipIndex(Int_t i) const</div><div class="ttdef"><b>Definition:</b> <a href="TokenizedLine_8cxx_source.html#l00068">TokenizedLine.cxx:68</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_bfccd401955b95cf8c75461437045ac0.html">inc</a></li><li class="navelem"><a class="el" href="dir_c9669852a30ec5c19174cea431e29c05.html">Containers</a></li><li class="navelem"><a class="el" href="TokenizedLine_8h.html">TokenizedLine.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
